package com.choosefine.it.worker.model.vo;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="参数返回对象")
public class WorkMyJobVO implements Serializable{
		
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value="项目名称")
	private String projectName;
	
	@ApiModelProperty(value="工种")
	private String workTypeName;
	
//	@ApiModelProperty(value="班组名")
//	private String teamTypeName;
	
	@ApiModelProperty(value="班组负责人")
	private String teamContactor;
	
	@ApiModelProperty(value="开工日期")
	private Long openDate;
	
	@ApiModelProperty(value="工程地点")
	private String projectAddress;
	
	@ApiModelProperty(value="图像地址")
	private String projectImg;

	@ApiModelProperty(value="班组用户编码")
	private String teamUserCode;

	@ApiModelProperty(value="关系id")
	private Integer relationId;
	
	@ApiModelProperty(value="班组id")
	private Integer teamId;
	@ApiModelProperty(value = "承建单位")
	private String construction_unit;



	@ApiModelProperty(value = "总的应付")
	private BigDecimal totalReceivable;
	@ApiModelProperty(value = "总的已付")
	private BigDecimal totalReceived;
	@ApiModelProperty(value = "总的未付")
	private BigDecimal totalUnpaid;
	
	@ApiModelProperty(value = "班组名称", required = false)
	private String teamName;
	
	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	public String getConstruction_unit() {
		return construction_unit;
	}

	public void setConstruction_unit(String construction_unit) {
		this.construction_unit = construction_unit;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getWorkTypeName() {
		return workTypeName;
	}

	public void setWorkTypeName(String workTypeName) {
		this.workTypeName = workTypeName;
	}

//	public String getTeamTypeName() {
//		return teamTypeName;
//	}
//
//	public void setTeamTypeName(String teamTypeName) {
//		this.teamTypeName = teamTypeName;
//	}

	public String getTeamContactor() {
		return teamContactor;
	}

	public void setTeamContactor(String teamContactor) {
		this.teamContactor = teamContactor;
	}

	public Long getOpenDate() {
		return openDate;
	}

	public void setOpenDate(Long openDate) {
		this.openDate = openDate;
	}

	public String getProjectAddress() {
		return projectAddress;
	}

	public void setProjectAddress(String projectAddress) {
		this.projectAddress = projectAddress;
	}

	public String getProjectImg() {
		return projectImg;
	}

	public void setProjectImg(String projectImg) {
		this.projectImg = projectImg;
	}

	public String getTeamUserCode() {
		return teamUserCode;
	}

	public void setTeamUserCode(String teamUserCode) {
		this.teamUserCode = teamUserCode;
	}

	public Integer getRelationId() {
		return relationId;
	}

	public void setRelationId(Integer relationId) {
		this.relationId = relationId;
	}

	public Integer getTeamId() {
		return teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public BigDecimal getTotalReceivable() {
		return totalReceivable;
	}

	public void setTotalReceivable(BigDecimal totalReceivable) {
		this.totalReceivable = totalReceivable;
	}

	public BigDecimal getTotalReceived() {
		return null == totalReceived ? new BigDecimal(0.00).setScale(2) : totalReceived;
	}

	public void setTotalReceived(BigDecimal totalReceived) {
		this.totalReceived = null == totalReceived ? new BigDecimal(0.00).setScale(2) : totalReceived;
	}

	public BigDecimal getTotalUnpaid() {
		return totalUnpaid;
	}

	public void setTotalUnpaid(BigDecimal totalUnpaid) {
		this.totalUnpaid = totalUnpaid;
	}
}
